package com.xxtx.trade.sysUser.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xxtx.trade.sysUser.bean.TradeSysMenu;
import com.xxtx.trade.sysUser.bean.TradeSysRole;
import com.xxtx.trade.sysUser.bean.TradeUserRole;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class TradeSysUserVo implements Serializable {
    private String id;

    /**
     * 账号
     */
    private String accountName;
    private  int accountState;
    private String accountStateName;
    private Long balance;
    private BigDecimal balanceBig;
    private int voicePrice;

    public int getVoicePrice() {
        return voicePrice;
    }

    public void setVoicePrice(int voicePrice) {
        this.voicePrice = voicePrice;
    }

    public BigDecimal getBalanceBig() {
        return balanceBig;
    }

    public void setBalanceBig(BigDecimal balanceBig) {
        this.balanceBig = balanceBig;
    }

    public int getAccountState() {
        return accountState;
    }

    public void setAccountState(int accountState) {
        this.accountState = accountState;
    }

    public String getAccountStateName() {
        return accountStateName;
    }

    public void setAccountStateName(String accountStateName) {
        this.accountStateName = accountStateName;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    private String smsStateName;
    private  int maxSmsSend;
    private  int maxSmdRed;

    public int getMaxSmsSend() {
        return maxSmsSend;
    }

    public void setMaxSmsSend(int maxSmsSend) {
        this.maxSmsSend = maxSmsSend;
    }

    public int getMaxSmdRed() {
        return maxSmdRed;
    }

    public void setMaxSmdRed(int maxSmdRed) {
        this.maxSmdRed = maxSmdRed;
    }

    public String getSmsStateName() {
        return smsStateName;
    }

    public void setSmsStateName(String smsStateName) {
        this.smsStateName = smsStateName;
    }

    /**
     * 密码
     */
    private String pwd;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    private Integer CardCount;

    @Override
    public String toString() {
        return "TradeSysUserVo{" +
                "id='" + id + '\'' +
                ", accountName='" + accountName + '\'' +
                ", pwd='" + pwd + '\'' +
                ", createTime=" + createTime +
                ", CardCount=" + CardCount +
                ", state=" + state +
                ", nickName='" + nickName + '\'' +
                ", phone='" + phone + '\'' +
                ", userMenus=" + userMenus +
                ", roles=" + roles +
                ", token='" + token + '\'' +
                ", smsState=" + smsState +
                ", accountId='" + accountId + '\'' +
                ", stateName='" + stateName + '\'' +
                ", createName='" + createName + '\'' +
                ", agentPathName='" + agentPathName + '\'' +
                ", roleName='" + roleName + '\'' +
                '}';
    }

    public Integer getCardCount() {
        return CardCount;
    }

    public void setCardCount(Integer cardCount) {
        CardCount = cardCount;
    }

    /**
     * 账号状态：1 启用  2 禁用
     */
    private Integer state;


    /**
     * 昵称
     */
    private String nickName;

    /**
     * 手机号
     */
    private String phone;
    /**
     * 对应的菜单信息
     */
    private List<TradeSysMenu> userMenus;
    //角色
    private List<TradeSysRole> roles;
    /**
     * token
     */
    private String token;

    private Integer smsState;

    private String accountId;

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Integer getSmsState() {
        return smsState;
    }

    public void setSmsState(Integer smsState) {
        this.smsState = smsState;
    }

    private String stateName;
    //创建人姓名
    private String createName;
    //路径
    private String agentPathName;

    private String agentPathId;

    private String roleName;

    private String agentId;

    public String getAgentPathId() {
        return agentPathId;
    }

    public void setAgentPathId(String agentPathId) {
        this.agentPathId = agentPathId;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<TradeSysRole> getRoles() {
        return roles;
    }

    public void setRoles(List<TradeSysRole> roles) {
        this.roles = roles;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getAgentPathName() {
        return agentPathName;
    }

    public void setAgentPathName(String agentPathName) {
        this.agentPathName = agentPathName;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<TradeSysMenu> getUserMenus() {
        return userMenus;
    }

    public void setUserMenus(List<TradeSysMenu> userMenus) {
        this.userMenus = userMenus;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
